package com.mask.roll.common.constant;

/**
 * 项目常量类
 * @author hx
 * @since 2021/10/22 11:17 上午
 */

public class RollConstants {

    /**
     * 消息响应级别SUCCESS
     */
    public static final String SUCCESS = "success";
    /**
     * 消息响应级别INFO
     */
    public static final String INFO = "info";
    /**
     * 消息响应级别WARN
     */
    public static final String WARN = "warning";
    /**
     * 消息响应级别ERROR
     */
    public static final String ERROR = "error";


    /**
     * oss讲师头像
     */
    public static final String TEACHER_AVATAR = "teacher";

    /**
     * oss课程封面图片
     */
    public static final String COURSE_COVER = "course";

    /**
     * 课程已发布
     */
    public static final String NORMAL = "Normal";

    /**
     * 课程未发布
     */
    public static final String DRAFT = "Draft";

    /**
     * redis存储手机号前缀
     */
    public static final String REDIS_PHONE_PREFIX = "REDIS_PHONE_PREFIX_";

    /**
     * 手机号正则匹配
     */
    public static final String SMS_REGEX_PHONE = "^(1[3|4|5|6|7|8|9])\\d{9}$";

    /**
     * 短信验证码正则匹配
     */
    public static final String SMS_REGEX_CODE = "^\\d{6}$";


    /**
     * 订单支付状态
     */
    public static final String ORDER_PAY_SUCCESS = "SUCCESS";


}
